a = 'qwertyuiop'
b = ''
for i in a[::-1]:
    b += i

print(b)


a = 'ofqguei'
b = a[::-1]
print(b)


